package org.gd.hellojaxb.privat24.other;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "volya")
public class VolyaResponse {

    private String response;
    private String message;

    public VolyaResponse() {

    }

    public VolyaResponse(String response, String message) {
        this.response = response;
        this.message = message;
    }

    public String getResponse() {
        return response;
    }
    @XmlAttribute(name = "responce")
    public void setResponse(String response) {
        this.response = response;
    }

    public String getMessage() {
        return message;
    }
    @XmlAttribute(name = "resptxt")
    public void setMessage(String message) {
        this.message = message;
    }
}
